<%--
  Created by IntelliJ IDEA.
  User: cloudoer
  Date: 2018/4/12
  Time: 16:51
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div id="menu_dialog" style="padding: 20px;text-align: center;">
    <form id="menu_add_form" class="layui-form layui-form-pane" method="post">
        <input type="hidden" id="menu_add_id" name="id">
        <div class="layui-form-item">
            <label class="layui-form-label">编号</label>
            <div class="layui-input-block">
                <input type="text" name="number" autocomplete="off" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">名称</label>
            <div class="layui-input-block">
                <input type="text" name="name" autocomplete="off" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">英文名</label>
            <div class="layui-input-block">
                <input type="text" name="value" autocomplete="off" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">路径</label>
            <div class="layui-input-block">
                <input type="text" name="url" autocomplete="off" lay-verify="required" class="layui-input">
            </div>
        </div>
        <div class="layui-form-item">
            <label class="layui-form-label">状态</label>
            <div class="layui-input-block">
                <input type="text" name="state" autocomplete="off" class="layui-input">
            </div>
        </div>
        <div class="layui-footer">
            <button class="layui-btn" lay-submit lay-filter="menu_add_btn">立即提交</button>
        </div>
    </form>
</div>

<script type="text/javascript">
    $(function () {
        $('#menu_add_id').val(base_js.UUID());
    });
</script>